var config = require("../config");
var http_service = require("./http_service");
var socket_service = require("./socket_service");

var db = require('./db');
db.init(config.mysql());
//开启HTTP服务
http_service.start(config.ddz_server_config());

//开启外网SOCKET服务
socket_service.start(config.ddz_server_config());
